package com.dhcc.bpm.modules.safe.service;

import com.dhcc.bpm.modules.safe.entity.AccessControl;
import com.dhcc.bpm.modules.safe.vo.AccessControlVO;
import org.springblade.core.mp.base.BaseService;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName IAccessControlService
 * @Description API访问控制表 服务类
 * @Author daina
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
public interface IAccessControlService extends BaseService<AccessControl> {

	/**
	 * @Description 自定义分页
	 * @Author daina
	 * @Date 9:45 2020/3/3
	 * @param page
	 * @param accessControl
	 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.modules.safe.vo.AccessControlVO>
	 **/
	IPage<AccessControlVO> selectAccessControlPage(IPage<AccessControlVO> page, AccessControlVO accessControl);
	/**
	 * @Description 更新状态
	 * @Author daina
	 * @Date 9:45 2020/3/3
	 * @param accessControl
	 * @return boolean
	 **/
	int updateRefreshFlag(AccessControl accessControl);

}
